{% extends "site_base.html" %}

{% load uni_form_tags %}

{% block extra_head %}
    <link rel="stylesheet" href="{{ STATIC_URL }}uni_form/uni-form.css" />
{% endblock %}

{% block head_title %}Sites : Submit{% endblock %}
{% block body_id %}sites{% endblock %}

{% block main_content %}

    <h2>Submit A Site</h2>
    <hr />

    <form method="POST" action="{% url sites_submit_site %}" class="uniForm custom">
        <fieldset class="blockLabels">
            {% csrf_token %}
            {{ form|as_uni_form }}
        </fieldset>
        <div class="form_block">
            <input type="submit" value="Submit Site" />
        </div>
    </form>

{% endblock %}


{% block extra_body %}
    <script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
    <script src="{{ STATIC_URL }}uni_form/uni-form.jquery.js" type="text/javascript"></script>
{% endblock %}
